package com.google.android.material.datepicker;

import androidx.fragment.app.Fragment;
import java.util.LinkedHashSet;

abstract class p<S> extends Fragment {

    /* renamed from: b  reason: collision with root package name */
    protected final LinkedHashSet<o<S>> f2273b = new LinkedHashSet<>();

    p() {
    }

    /* access modifiers changed from: package-private */
    public boolean a(o<S> oVar) {
        return this.f2273b.add(oVar);
    }

    /* access modifiers changed from: package-private */
    public void c() {
        this.f2273b.clear();
    }
}
